/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GameEvents;

/**
 *
 * @author avia
 */
public class PaymentEvents extends GameEvents{
    Boolean PaymentToOrFromTreasury;
    Boolean PaymemtFromUser;
    String PaymentToPlayerName;
    Integer PaymentAmount;
         public PaymentEvents  (String GameName,Integer EventID,Integer EventType,String PlayerName
            ,String EventMessage,Integer BoardSquareID,Boolean PaymentToOrFromTreasury, Boolean PaymemtFromUser,
            String PaymentToPlayerName,Integer PaymentAmount)
    {
           super(GameName,EventID,EventType,PlayerName ,EventMessage,BoardSquareID);
           this.PaymentToOrFromTreasury=PaymentToOrFromTreasury;
           this. PaymemtFromUser= PaymemtFromUser;
           this.PaymentToPlayerName=PaymentToPlayerName;
           this.PaymentAmount=PaymentAmount;
     }
         public PaymentEvents  (String GameName,Integer EventID,Integer Timeout,Integer EventType,String PlayerName
            ,String EventMessage,Integer BoardSquareID,Boolean PaymentToOrFromTreasury, Boolean PaymemtFromUser,
            String PaymentToPlayerName,Integer PaymentAmount)
    {
           super(GameName,EventID,Timeout,EventType,PlayerName ,EventMessage,BoardSquareID);
           this.PaymentToOrFromTreasury=PaymentToOrFromTreasury;
           this. PaymemtFromUser= PaymemtFromUser;
           this.PaymentToPlayerName=PaymentToPlayerName;
           this.PaymentAmount=PaymentAmount;
     }

    @Override
    public boolean isPaymentToOrFromTreasury() {
        return PaymentToOrFromTreasury;
    }

    @Override
    public boolean isPaymemtFromUser() {
        return PaymemtFromUser;
    }

    @Override
    public String getPaymentToPlayerName() {
        return PaymentToPlayerName;
    }

    @Override
    public int getPaymentAmount() {
        return PaymentAmount;
    }
}
